<template>
  <div class="line-history">
    <BaseEchart :options="option"></BaseEchart>
  </div>
</template>

<script setup lang="ts">
import BaseEchart from './BaseEchart.vue'
const option: any = {
  legend: {
    data: ['交易基金']
  },
  xAxis: {
    type: 'category',
    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
  },
  yAxis: {
    type: 'value'
  },
  series: [
    {
      data: [0, 932, 901, 934, 1290, 1330, 1320],
      type: 'line',
      smooth: true,
      name: '交易基金'
    }
  ]
}
</script>

<style lang="scss" scoped>
.line-history {
  height: 400px;
  padding: 10px 15px;
}
</style>
